/*
 * game.h
 *
 *  Created on: 08.08.2012
 *      Author: Axel
 */

#ifndef GAME_H_
#define GAME_H_

#include <vector>
#include "Player.h"
#include "Card.h"
#include <string>

using namespace std;

class Game {



public:

	vector<Player> players;
	int visibleCards;

	Player actualTurn;
	float pot;

	Card pubCards[5];


	Game();
	virtual ~Game();

	void playerComes(Player p);
	void playerLeaves(Player p);

	void playerRaises(Player p, float amount);
	void playerCalls(Player p, float amount);
	void playerFolds(Player p);


	void newPubCard(Card c);
	void newRound();

	bool roundOver();

	// needed?   Player playerWon();

	string toString();
};

#endif /* GAME_H_ */
